package object;

public class IntegerDemo {
    public static void main(String[] args) {
        Integer i1 = new Integer(499);

        Integer i3 = Integer.valueOf(18);
        Integer i4 = Integer.valueOf(18);
        System.out.println(i3 == i4);
        int i = i3.intValue();
        Double dou = Double.valueOf(0.5f);
        double dou1 = dou.doubleValue();


        Integer integer = 555;
        Integer integer2 = 555;
        int j = new Integer(5);

        System.out.println(integer == integer2);
        System.out.println(Byte.MAX_VALUE);
        System.out.println(Short.MAX_VALUE);
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Long.MAX_VALUE);
        System.out.println(Float.MAX_VALUE);
        System.out.println(3.4 * Math.pow(10, 38));
        System.out.println(Double.MAX_VALUE);
        System.out.println((int) Character.MAX_VALUE);
        //  System.out.println(Boolean);
        String s = "true1";
        System.out.println(Boolean.parseBoolean(s));
        // System.out.println(Character.p);
    }
}
